<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>需求发布</title>
	<link href="{$smarty.const.HOME_CSS_URL}/CSS.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="{$smarty.const.HOME_CSS_URL}/style/weui.min.css"/>      
	<script src="{$smarty.const.HOME_JS_URL}/jquery.js"></script>
	<script src="{$smarty.const.HOME_JS_URL}/js.js" type="text/javascript"></script>
	<script src="{$smarty.const.HOME_JS_URL}/lrz/dist/lrz.bundle.js"></script>
</head>
<body class="body_box">

<div id="bgback" onClick="offrelease()"></div>
<!--信息分类  -->
<div class="publish_serve_box">
	<div class="msg_sort_box">
		<h1>信息类别</h1>
		<div class="msg_sort" id="msgsort">
			<li class="sort1" onClick="category(1)" id="sort1">智造中心</li>
			<li class="sort1"  onClick="category(2)" id="sort2">产品设计</li>
			<li class="sort1"  onClick="category(3)" id="sort3">技术研发</li>
			<li class="sort1" style="margin-right:0"  onClick="category(4)" id="sort4">检测认证</li>
			<li class="sort1"  onClick="category(5)" id="sort5">产品中试</li>
			<li class="sort1"  onClick="category(6)" id="sort6">推广营销</li>
			<li class="sort1"  onClick="category(7)" id="sort7">协同服务</li>
			<li class="sort1" style="margin-right:0"  onClick="category(8)" id="sort8">其他</li>
			<div class="clearfix"></div>
		</div>
	</div>
	<div class="write_msg_box">
		
		<form action="" method="post" enctype="multipart/form-data" >
			<input type="hidden" id="goods_id" value="{$info.id}|default:'0'" />
			<input type="hidden" value=""  />
			<div class="msg_title">
				<h1>标题</h1>
				<input type="text" id="title" name="title"   placeholder=""  onClick="check(this.id)" onChange="check(this.id)" value="{$info.goods_title|default:''}" />
			</div>
	         <div class="main_body">
				<h1>正文</h1>
			    <div class="weui_cells weui_cells_form">
        			<div class="">
           				<div class="weui_cell_primary num_position_box">
                <textarea class="weui_textarea " placeholder="" rows="3" id="memo"  onClick="check(this.id)" onChange="check(this.id)"   onKeyUp="lenthnum()">{$info.goods_intro|default:''}</textarea>
                		<div class="weui_textarea_counter num_position"><span id="zinumjia">0</span>/<span id="zinumjian">200</span></div>
            		</div>
       		 </div>
   		 </div>
    <div class="weui_toptips weui_warn js_tooltips">格式不对</div>
		 </div >
		 <div class="msg_price">
		 	<h1>价格</h1>
			<input    type="number" id="money"   placeholder="" onClick="check(this.id)" onChange="check(this.id)" value="{$info.price|default:''}"/>   
		 </div>
		 <div class="msg_tel">
		 	<h1>联系方式</h1>
			<div class="weui_cells">
				<div class="weui_cell weui_cell_select">
            		<div class="weui_cell_primary">
               	    	<input class="weui_input" type="number" pattern="[0-9]*" placeholder="" id="tel" onClick="check(this.id)" onChange="check(this.id)" value="{$info.tel|default:''}"/>
                    </div>
       	 		</div>
   			 </div>  
		 </div>
		 <div class="msg_linkman">
		 	<h1>联系人：</h1>
			<input    type="text" id="linkman"   placeholder="" onChange="check(this.id)" onfocus="checkTel()" value="{$info.linkman|default:''}"/>   
		 </div>
			<div class="msg_photo">
				<input type="hidden" id="goods_photo_input" value="{$info.goods_photo}" />
				<input type="hidden" id="goods_photo1_input" value="{$info.goods_photo1}" />
				<input type="hidden" id="goods_photo2_input" value="{$info.goods_photo2}" />
				<h1>添加图片</h1>
				<div style="width: 44px; height: 44px; float: left; margin-right: 10%; position: relative">
					<img id="goods_photo_show" src="/zgc/Public/images/uploading.png" width="100%" height="100%" alt="">
					<input id="goods_photo" type="file" accept="image/*" style="opacity: 0; position: absolute; left: 0; width: 100%; height: 100%; border: 1px solid red;" />
				</div>

				<div id="goods_photo1_bar" style="width: 44px; height: 44px; float: left; margin-right: 10%; position: relative; display:none;">
					<img id="goods_photo_show1" src="/zgc/Public/images/uploading.png" width="100%" height="100%" alt="">
					<input id="goods_photo1" type="file" accept="image/*" style="opacity: 0; position: absolute; left: 0; width: 100%; height: 100%; border: 1px solid red;" />
				</div>

				<div id="goods_photo2_bar" style="width: 44px; height: 44px; float: left; margin-right: 10%; position: relative; display:none;">
					<img id="goods_photo_show2" src="/zgc/Public/images/uploading.png" width="100%" height="100%" alt="">
					<input id="goods_photo2" type="file" accept="image/*" style="opacity: 0; position: absolute; left: 0; width: 100%; height: 100%; border: 1px solid red;" />
				</div>
			</div>
			<div class="clearfix"></div>
		</form>
	</div>
	<div class="publish_submit publish_needs" id="publish">发布</div>
</div>

<div class="popup_btn_box" id="popup_btn_box1">
	<div class="popup_content">是否继续发布</div>
	<div class="popup_content_ok">
		<span id="OK" onClick="need_popup_yes()">继续发布</span>
		<span id="NO" onClick="popup_no()">取消</span>
	</div>
</div>

</body>
</html>